package com.book.oauth.server.user.dto;

import java.util.Date;
import java.math.BigDecimal;
import com.book.common.util.DatetimeUtil;
import java.io.Serializable;
import lombok.Data;
import com.book.common.api.dto.BaseDto;
import org.springframework.format.annotation.DateTimeFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * Description：用户角色关联 EntityDto
 * @Author： leo
 * @CreateDate： 2020-12-31
 * @Email： leo.xiong@suyun360.com
 * Version: 1.0
 */
@Data
@ApiModel(value = "UserRoleDto", discriminator = "用户角色关联Dto", subTypes = {UserRoleDto.class})
public class UserRoleDto extends BaseDto implements Serializable {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "用户ID")
    private Long userId;

    @ApiModelProperty(value = "角色ID")
    private Long roleId;

}
